<template>
  <button class="button" @click="handle">
    <slot></slot>
  </button>
</template>
<script>
export default {
  name: "button",
  props: {
    disabled: {
      type: Boolean,
      required: false,
      default: false,
    },
  },
  methods:{
    handle(e){
      this.$emit('clickHandle',e);
    }
  }
};
</script>
<style lang="scss">
.button {
  background: #234f9e;
  color: #fff;
  border-radius: 60rpx;
}
</style>